package com.wogu.filter;

import javax.servlet.Filter;
import javax.servlet.FilterConfig;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;

import java.io.IOException;

public class RequestFilter implements Filter {
	FilterConfig fc;
	
	public void init(FilterConfig fc) throws ServletException {
		this.fc = fc;
	}
	
	public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) 
		throws ServletException, IOException {
		request = (HttpServletRequest) request;
		request.getAttribute('int');
		chain.doFilter(request, response);
	}
	
	public void destroy() {
		
	}
}